
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
}

/* Navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
height: 120px;   /* 28px o‘rniga kattaroq qildik */
  width: auto; 
}

@media (min-width: 1024px) {
  .logo img {
    height: 150px;  /* logoni kattaroq qilamiz */
  }
}


.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  color: #222;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links {
  display: none;
}



.nav-links a:hover {
  color: #666;
}

.nav-icons {
  display: flex;
  gap: 30px;
}
.nav-icons img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Responsive: telefon */
@media (min-width: 1024px) {
  .nav-icons img {
    width: 40px;   /* biroz kattaroq */
    height: 40px;
  }

  .nav-icons {
    gap: 28px;     /* ikonalar orasidagi masofani kengaytirdik */
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: 24px;
  }
}

:root{
  --ann-h: 45px;
  --ann-max: 1200px;
  --ann-btn-col: 36px;   /* default (mobil/planshet) – katta hit-area */
}/* ann-max = markaziy kenglik */

/* Bar — tugmalar matn oynasiga yaqin bo‘lsin */

.ann-bar{
  position: sticky; top:0; z-index:1100;
  height: var(--ann-h);
  background: #0f0f10; color:#fff; border-bottom:1px solid #111;
  display: flex; justify-content: center; align-items: center;
}

.ann-inner{
  width: min(var(--ann-max), 100%);
  padding: 0 12px;
  display: grid;
  grid-template-columns: var(--ann-btn-col) 1fr var(--ann-btn-col);
  align-items: center;
  gap: 8px;
}

/* markaziy oyna va trek */
.ann-viewport{ overflow: hidden; }
.ann-track{
  display: flex; align-items: center; gap: 0;
  transition: transform .35s ease; will-change: transform;
}
.ann-item{
  min-width: 100%; text-align: center; white-space: nowrap;
  font-size: 14px; letter-spacing: .02em; line-height: 1;
}

/* tugmalar — o‘z ustunida markazda */
.ann-btn{
  justify-self: center;
  display: inline-grid; place-items: center;
  width: var(--ann-btn-col);
  height: var(--ann-btn-col);
  background: transparent; border: 0; color: #bbb; cursor: pointer;
  font-size: 18px; line-height: 1;
  
}
.ann-btn:hover{ color:#fefefe; }

/* yopish tugmasi */


/* Mobil ixcham */
@media (max-width: 768px){
  :root{ --ann-h: 44px; --ann-btn-col: 32px; } /* mobil uchun 32px hit-area */
  .ann-inner{ padding: 0 8px; }
  .ann-item{ font-size: 13px; }
}

@media (min-width: 1024px){
  :root{ --ann-btn-col: 24px; }   /* kerak bo'lsa 24px qilib ham ko‘rish mumkin */
}

/* Navbar bar ostidan boshlansin */
.navbar{ position: sticky; top: var(--ann-h); z-index: 1000; }


/* Container util */
.container{ width:min(1200px, 92%); margin-inline:auto; }

/* Seksiya sarlavhasi */
.section-title{
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing:.02em;
  margin: 28px 0 16px;
  text-align: center;
}

/* Grid */
.prod-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1024px){ .prod-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px){ .prod-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .prod-grid{ grid-template-columns: 1fr; } }

/* Karta */
.prod-card{
  position: relative;       display:block; text-decoration:none; color:#111;
}
.prod-card .badge{
  position:absolute; z-index:2; top: 10px; ; padding:6px 10px;
  font-size:12px; letter-spacing:.08em; background:#111; color:#fff; border-radius:4px;
}
.prod-card .thumb{
  position:relative; aspect-ratio: 3/4; overflow:hidden; border-radius:px; background:#f3f3f3;
}
.prod-card .thumb .img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: opacity .35s ease;
}
.prod-card .thumb .hover{ opacity:0; }
.prod-card:hover .thumb .hover{ opacity:1; }
.prod-card:hover .thumb .main{ opacity:0; }

.prod-card .name{
  margin:10px 2px 4px; font-size:14px; letter-spacing:.04em;
}
.prod-card .price{ color:#444; margin:0 2px 8px; font-size:14px; }

/* Swatches */
.swatches{ display:flex; gap:8px; padding:2px; }
.swatch{
  width:18px; height:18px; border-radius:50%;
  border:1px solid #ddd; background: var(--sw, #000);
  cursor:pointer;
}
.swatch[aria-current="true"]{ outline:2px solid #111; outline-offset:2px; }








/* ======= MOBILE 2-KOLONKA GRID ======= */
@media (max-width: 768px) {
  /* Grid konteyner (bir necha nom bilan qamrab oldik) */
  .products, .products-grid, .product-grid, .collection-grid, .prod-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* 2 ta ustun */
    gap: 14px !important;
    padding-inline: 12px;
  }

  /* Karta umumiy ko‘rinishi */
  .product-card, .card-product, .product {
    border: none;
    padding: 0;
    background: transparent;
  }

  /* Rasm nisbati barqaror bo‘lsin */
  .product-card .img-wrap,
  .card-product .img-wrap,
  .product .img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;          /* vertikal suratlar uchun */
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
  }
  .product-card .img-wrap img,
  .card-product .img-wrap img,
  .product .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* "NEW" bedji pozitsiyasi */
  .badge, .label-new, .tag-new {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #111;
    color: #fff;
    font-size: 10px;
    letter-spacing: .06em;
    padding: 5px 8px;
    border-radius: 6px;
  }

  /* Nom & narx tipografiya ixcham */
  .product-title, .card-title, .title {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.25;
  }
  .price, .product-price {
    font-size: 12px;
    margin-top: 4px;
  }

  /* Rang nuqtalari/swatchlar */
  .swatches, .colors, .color-dots {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
  }
  .swatch, .dot, .color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #000;  /* oq fonda ko‘rinsin */
  }
}

/* Tablet/desktop sizdagidek qoladi — ixtiyoriy ravishda pastdagini ham qo‘shishingiz mumkin */
@media (min-width: 769px) {
  .products, .products-grid, .product-grid, .collection-grid, .prod-grid {
    gap: 24px;
  }
}


/* ===== PRODUCT PAGE ===== */
.product.container{ max-width:1200px; margin-inline:auto; padding:16px; }

.product__grid{
  display:grid; gap:28px;
  grid-template-columns: 1fr;  /* mobil */
}

@media (min-width: 992px){
  .product__grid{ grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap:40px; }
}

.product__gallery{ position:relative; }
.product__badge{
  position:absolute; z-index:2; top:12px; left:12px;
  background:#111; color:#fff; font-size:12px; padding:6px 8px; border-radius:4px;
  letter-spacing:.06em;
}

.product__main{
  width:80%; aspect-ratio: 3/4; object-fit:cover; display:block;
  border-radius:8px;
}


.product__thumbs{
  margin-top:12px; display:grid; grid-template-columns: repeat(4,1fr); gap:10px;
}
.product__thumbs img{
  width:100%; aspect-ratio: 1/1; object-fit:cover; cursor:pointer; border-radius:6px;
  outline:2px solid transparent; transition:outline-color .2s ease;
}
.product__thumbs img.is-active{ outline-color:#111; }

.product__title{ font-size: clamp(22px, 2.4vw, 32px); margin:4px 0 40px; }
@media (max-width: 980px){
  .product__title {
    margin: 4px 0 20px; 
  }
}
.product__price{ font-weight:700; font-size: clamp(18px, 2vw, 22px); margin-bottom:30px; }

.product__row{ display:flex; align-items:center; gap:12px; margin:12px 0; }
.product__label{ min-width:70px; color:#666; font-size:14px; }

.product__swatches{ display:flex; gap:10px; }
.swatch{
  width:26px; height:26px; border-radius:50%; border:2px solid #1110; cursor:pointer;
  background: var(--c, #000);
  outline:2px solid #fff; box-shadow: 0 0 0 1px #1113 inset;
}
.swatch.is-active{ border-color:#111; box-shadow:0 0 0 2px #111 inset; }

.product__sizes{ display:flex; flex-wrap:wrap; gap:8px; }
.size{
  min-width:44px; height:36px; padding:0 10px; border:1px solid #ddd; border-radius:8px; cursor:pointer;
  background:#fff;
}
.size.is-active{ border-color:#111; }

.product__bullets{ margin:16px 0; padding-left:18px; line-height:1.6; color:#444; }

.product__actions{ display:flex; gap:10px; margin:18px 0 10px; }
.btn{
  height:44px; padding:0 18px; border-radius:10px; font-weight:600; cursor:pointer;
  border:1px solid #111; background:#fff;
}
.btn--primary{ background:#111; color:#fff; border-color:#111; }
.btn--ghost{ background:#fff; color:#111; }

.product__trust{
  display:grid; gap:6px; margin-top:12px; color:#333; font-size:14px;
}

/* Thumb/galereya radiusni minimal qilmoqchi bo‘lsangiz */
/* .product__main, .product__thumbs img { border-radius: 0; } */
/* === Mobile listing tweaks (≤768px) === */
@media (max-width: 768px){
  /* Kartada nom va narxni ixchamroq qilamiz */
  .prod-card .name{
    font-size: 12px;
    margin: 6px 2px 2px;
    line-height: 1.25;
  }
  .prod-card .price{
    font-size: 12px;
    margin: 0 2px 6px;
    color: #444;
  }

  /* Grid bo‘shliqlarini ham ixchamlashtiramiz (ixtiyoriy) */
  .prod-grid{ gap: 12px; }

  /* Rang nuqtalarini (pastdagi dumaloqlarni) butunlay yashiramiz */
  .prod-card .swatches{ display: none !important; }
}


.btn-solid.full{
  width: 100%;
  margin-top: 30px;
  background:#111;
  color:#fff;
  font-size:18px;
  padding:18px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  text-align:center;
  transition: background 0.3s ease;
}
.btn-solid.full:hover {
  color: #000;       /* matn qora bo‘ladi */
  background: #fff;  /* fon oq bo‘lishi uchun qo‘shdim */
}

@media(hover: none) {
  .btn-solid.full:hover {
  color: #fffafa;       /* matn qora bo‘ladi */
  background: #000000;  /* fon oq bo‘lishi uchun qo‘shdim */
}
}


@media (max-width: 768px){
  .btn-solid.full{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    font-size: 16px;
    padding:16px;
    z-index: 100;
  }
}




/* === Search Drawer === */
.srch-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
  z-index: 3000;               /* <-- 1100 dan katta bo'lsin */
}
/* to'g'risi */
.srch-overlay.is-open{ opacity: 1; pointer-events: auto; }

.srch-backdrop{
  position:absolute; inset:0;
  background:rgba(0,0,0,.35); backdrop-filter:blur(2px);
  opacity:0; transition:opacity .25s ease;
}
.srch-overlay.is-open .srch-backdrop{ opacity:1; }
.srch-panel{
  position: fixed; top: 0; right: 0; height: 100dvh;
  width: min(520px, 92vw);
  background: #fff;
  transform: translateX(100%);
  opacity: .01;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
  z-index: 3001;               /* <-- overlaydan ham 1 pog'ona baland */
  box-shadow: -4px 0 16px rgba(0,0,0,.15);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.srch-overlay.is-open .srch-panel{
  transform: translateX(0);
  opacity: 1;
}

.srch-close{
  position:absolute; top:10px; right:12px;
  width:36px; height:36px; border-radius:10px;
  border:1px solid #ddd; background:#fff; cursor:pointer; font-size:20px;
}
.srch-title{ margin:0 0 12px 0; font-size:20px; }
.srch-input-wrap{ position:relative; margin-bottom:14px; }
.srch-input{
  width:100%; padding:12px 14px; border-radius:12px;  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  border:1px solid #ddd; outline:none; font-size:16px;  transition: all .25s ease;   background: #fafafa; 
}
.srch-input:focus{  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,.07); }

.srch-results{ overflow:auto; -webkit-overflow-scrolling:touch; }
.srch-item{
  display:flex; gap:12px; padding:10px; border-radius:12px;
  border:1px solid #eee; background:#fff; margin-bottom:10px;
  text-decoration:none; color:inherit; align-items: center;  gap: 14px;  transition: all .25s ease;
}

.srch-close{
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  transition: background .2s ease;
}
.srch-close:hover{
  background: #e0e0e0;
}

.srch-item:hover{  border-color: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transform: translateY(-2px); }
.srch-thumb{
  width:72px; height:72px; border-radius:10px; overflow:hidden; flex:0 0 72px;
  background:#fafafa; display:grid; place-items:center; border:1px solid #eee;
}
.srch-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.srch-meta{ display:flex; flex-direction:column; gap:4px; }
.srch-name{ font-weight:600; }
.srch-price{ font-weight:700; }

/* Mobile: panel to‘liq ekran */
@media (max-width: 980px){
  .srch-panel{ width:100%; border-left:0; }
}

.srch-backdrop{
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px) saturate(110%);
}

/* Panel: o‘ngdagi kartochka, chetlardan “nafas”, katta radius va kuchli soyalar */
.srch-panel{
  /* joylashuv va o‘lcham */
  top: 24px;                     /* yuqoridan “nafas” */
  right: 24px;                   /* o‘ngdan “nafas” */
  height: auto;                  /* kontentga mos */
  max-height: calc(100dvh - 48px);
  width: min(680px, 92vw);       /* kattaroq karta */
  transform: translateX(16px) scale(.98);  /* ochilishdan oldingi holat */
  opacity: 0;
margin-top: 20px;
  /* ko‘rinish */
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 10px 20px rgba(0,0,0,.18),
    0 24px 48px rgba(0,0,0,.22);

  /* animatsiya — yanada “modal” hissi */
  transition:
    transform .35s cubic-bezier(.22,.61,.36,1),
    opacity .35s ease;
  padding: 22px 22px 18px;
  overflow: hidden;              /* ichki shovqinni kes */
  display: flex; flex-direction: column;
   
}

.srch-overlay.is-open .srch-panel{
  transform: translateX(0) scale(1);
  opacity: 1;
}

/* Sarlavhani yashiramiz — dizaynda faqat input ko‘rinadi */
.srch-title{ display:none; }

/* Close (×) — minimal, kartochka burchagida */
.srch-close{
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px;
  border: 0; background: transparent;
  font-size: 24px; line-height: 1; cursor: pointer;
  border-radius: 10px;
}
.srch-close:hover{ background: #f4f4f4; }

/* Input — katta “underline” uslub */
.srch-input-wrap{ margin: 6px 0 12px; }
.srch-input{
  width:100%;
  padding:10px 2px 12px;
  font-size:clamp(20px, 2.2vw, 28px);
  font-weight:700;
  background:transparent;
  border:none !important;                 /* yon/top border yo‘q */
  border-bottom:3px solid #111 !important;/* faqat pastda chiziq */
  outline:none !important;
  box-shadow:none !important;             /* ichki soyalarni ham o‘chiradi */
  -webkit-appearance:none;                /* Safari default bezaklarni o‘chir */
  appearance:none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration{
  display:none;
}

.srch-input-wrap{
  border:0 !important;        /* ehtimoliy border-bottom’ni ham olib tashlaydi */
  margin:6px 0 12px;          /* biroz “nafas” */
}
.srch-panel{ top:24px; padding-top:18px; }
@media (max-width:980px){
  .srch-panel{ top:12px; padding-top:14px; }
}
.srch-input::placeholder{ color:#8a8a8a; font-weight:600; }
.srch-input:focus{ border-bottom-color:#000; }

/* Natijalar: ichkarida silliq skroll */
.srch-results{
  margin-top: 8px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100dvh - 48px - 70px); /* karta balandligidan kelib chiqadi */
}

/* Item — yengil hover va ixchamlik */
.srch-item{
  gap: 14px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.srch-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  border-color: #111;
}
.srch-thumb{ width:72px; height:72px; border-radius: 10px; }

/* Mobil — to‘liq ekran, lekin 10px “nafas” qoldiramiz */
@media (max-width: 980px){
  .srch-panel{
    top: 10px; right: 10px; left: 10px;  /* ikki tomondan ham nafas */
    width: auto; max-width: none;
    max-height: calc(100dvh - 20px);
    border-radius: 14px;
    padding: 18px 16px 14px;
  }
  .srch-input{ font-size: 20px; }
}
.srch-backdrop{
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(2px) saturate(110%);
}

/* Panel — o‘ngda, DEYARLI to‘liq balandlik, vertikal karta */
.srch-panel{
  position: fixed;
  top: 12px;                 /* tepadan nafas */
  right: 12px;               /* o‘ngdan nafas */
  height: calc(100dvh - 24px);   /* pastga uzun */
  width: min(600px, 92vw);       /* o‘rtacha kenglik (xohlasa 560–640) */
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 10px 20px rgba(0,0,0,.16),
    0 28px 56px rgba(0,0,0,.22);

  display: flex;             /* ichini ustun qilib */
  flex-direction: column;
  padding: 18px 18px 40px;

  /* silliq chiqishi (o‘ngdan) */
  transform: translateX(18px) scale(.985);
  opacity: 0;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}
.srch-overlay.is-open .srch-panel{
  transform: translateX(0) scale(1);
  opacity: 1;
}

/* sarlavha kerakmas — Icon uslubida faqat input */
#srchTitle, .srch-title{ display:none; }

/* yopish tugmasi minimal */
.srch-close{
  position:absolute; top:10px; right:12px;
  width:36px; height:36px; border:0; background:transparent;
  font-size:22px; line-height:1; cursor:pointer; border-radius:12px;
}
.srch-close:hover{ background:#f3f3f3; }

/* INPUT: katta, underline ko‘rinish */
.srch-input-wrap{
  position: sticky; top: 0; z-index: 1;   /* skrollda tepaga yopishib turadi */
  background: #fff;
  padding-top: 4px; padding-bottom: 8px;
  border-bottom: 1px solid #eee;          /* mayin separator */
}
.srch-input{
  width:100%;
  border:0; border-bottom:3px solid #222; border-radius:0;
  padding: 12px 2px 14px;
  background: transparent; outline:none;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  box-shadow:none;
}
.srch-input::placeholder{ color:#8a8a8a; font-weight:700; }
.srch-input:focus{ border-bottom-color:#000; }

/* NATIJALAR: qolgan bo‘shliqni egallab, silliq skroll */
.srch-results{
  flex: 1 1 auto;            /* bo‘sh joyning hammasini oladi */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 10px;
}

/* ITEM: yengil kartochka */
.srch-item{
  display:flex; align-items:center; gap:14px;
  padding:12px; border:1px solid #eee; border-radius:12px;
  background:#fff; text-decoration:none; color:inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  margin-bottom:10px;
}
.srch-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  border-color:#111;
}
.srch-thumb{ width:80px; height:80px; border-radius:12px; overflow:hidden; flex:0 0 80px; background:#f7f7f7; border:1px solid #eee; }
.srch-thumb img{ width:100%; height:100%; object-fit:cover; }
.srch-name{ font-weight:700; }
.srch-price{ font-weight:700; color:#111; }

/* BODY scroll lock (senda JS bor, lekin class orqali ham qo'llaymiz) */
body.srch-open{ overflow:hidden; }

/* Mobil: to‘liq balandlik + yonlardan 10px */
@media (max-width: 980px){
  .srch-panel{
    top:10px; right:10px; left:10px;
    width:auto; height: calc(100dvh - 20px);
    border-radius:14px; padding:16px 14px 12px;
  }
  .srch-input{ font-size: 20px; border-bottom-width: 2px; }
  .srch-thumb{ width:64px; height:64px; border-radius:10px; }
}
/* ===== Mobile top-sheet variant (≤768px) ===== */
@media (max-width: 768px){

  /* Karta tepaga “yopishadi”, balandligi kichik */
  .srch-panel{
    left: 12px;                 /* yonlardan nafas */
    right: 12px;
    top: calc(12px + var(--ann-h, 0px));   /* ann-bar ostida */
    height: auto;               
    max-height: min(48vh, 520px);/* kichkina – taxminan yarim ekran */
    width: auto;
    border-radius: 16px;
    padding: 14px 14px 12px;

    /* modal top-sheet animatsiyasi */
    transform: translateY(-10px) scale(.98);
    opacity: 0;
  }
  .srch-overlay.is-open .srch-panel{ transform: translateY(0) scale(1); opacity: 1; }

  /* Input — biraz kichikroq */
  .srch-input-wrap{
    position: sticky; top: 0; z-index: 1;
    background:#fff; padding: 2px 0 8px; border-bottom: 1px solid #eee;
  }
  .srch-input{
    font-size: 18px;
    padding: 10px 2px 10px;
    border-bottom-width: 2px;
  }

  /* Natijalar — kichik kartada skroll */
  .srch-results{
    max-height: calc(min(48vh, 520px) - 64px); /* umumiy balandlikdan input qismini ayirdik */
    overflow:auto; -webkit-overflow-scrolling:touch;
    padding-top: 8px;
  }

  /* Thumb va itemlar ixcham */
  .srch-thumb{ width:56px; height:56px; border-radius:10px; }
  .srch-item{ padding:10px; gap:12px; }
  
  /* CLEAR va X joylashuvi */
  .srch-clear{ top: 10px; right: 48px; font-size: 11px; }
  .srch-close{ top: 8px; right: 10px; width: 34px; height: 34px; }
}

/* Kartani vertikal markazga tekislash */
.srch-item{
  display: flex;
  align-items: center;      /* matn ham, thumb ham markazda */
  gap: 14px;
}

/* Thumb – flex, line-height nol bo‘lsin (baseline artefakti yo‘qoladi) */
.srch-thumb{
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid #eee;

  display: flex;                 /* grid o‘rniga FLEX */
  align-items: center;           /* vertikal markaz */
  justify-content: center;       /* gorizontal markaz */
  line-height: 0;                /* inline-baseline siljishini o‘chiradi */
}

/* Rasm — blok va to‘liq sig‘ish */
.srch-thumb img{
  display: block;                /* inline bo‘lmasin */
  width: 100%;
  height: 100%;
  object-fit: cover;             /* kesib, markazda */
}
/* ==== PRODUCT PAGE — tipografiya & layout polish ==== */

/* Sarlavha – yirik, zich, yoqimli tracking */
.product__title{
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: .005em;
  font-weight: 800;
  margin: 6px 0 18px;
}

/* Narx – bir oz yirik, brend og‘irligi */
.product__price{
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #111;
  margin: 0 0 16px;
}

/* “Rang:” yozuvi va mayda label ko‘rinishi */
.product__row,
.product__label{
  align-items: center;
}
.product__label{
  min-width: 72px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #777;
}

/* Rang nuqtalari – kattaroq, hover/shadow bilan */
.product__swatches{ gap: 12px; }
.product__swatches .swatch{
  width: 30px; height: 30px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px #0001, 0 1px 2px #0002;
  transition: transform .15s ease, box-shadow .15s ease, outline-color .15s ease;
}
.product__swatches .swatch:hover{ transform: translateY(-2px); box-shadow: inset 0 0 0 1px #0002, 0 4px 10px #0002; }
.product__swatches .swatch.is-active{
  outline: 2px solid #111; outline-offset: 2px;
  box-shadow: inset 0 0 0 1px #0000, 0 3px 10px #0003;
}

/* Xususiyatlar ro‘yxati – chiroyli custom bullet */
.product__bullets{
  margin: 14px 0 10px;
  padding-left: 0;
  list-style: none;
}
.product__bullets li{
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
  line-height: 1.55;
  color: #333;
}
.product__bullets li::before{
  content: "";
  position: absolute; left: 0; top: .4em;
  width: 12px; height: 12px; border-radius: 50%;
  background: #111;             /* asosiy rang */
  box-shadow: 0 0 0 4px #1110;  /* yumshoq halo */
}

/* Ishonch satrlari – ixcham meta ko‘rinishi */
.product__trust{
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  color: #444;
}
.product__trust .row{ display:flex; gap:8px; align-items:center; }

/* Thumbs – silliq ramka/aktiv holat */
.product__thumbs{ gap: 12px; }
.product__thumbs img{
  border-radius: 10px;
  box-shadow: 0 1px 2px #0001;
  transition: transform .15s ease, outline-color .15s ease, box-shadow .15s ease;
}
.product__thumbs img:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px #0002; }
.product__thumbs img.is-active{ outline: 2px solid #111; }

/* CTA – katta, yumshoq radius, dark mode feel */
.btn-solid.full{
  height: 56px;
  font-size: 17px;
  border-radius: 12px;
  letter-spacing: .08em;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  box-shadow: 0 6px 20px #0003;
}
.btn-solid.full:hover{
  background:#000; color:#fff;
  border-color:#000;
}

/* Galereya asosiy rasm – to‘liq kenglik va markaz */
.product__main{
  width: 100%;
  max-width: 720px;     /* katta monitorlarda juda cho‘zilmasin */
  border-radius: 12px;
  box-shadow: 0 8px 30px #0001;
}

/* Grid balansi (desktop) */
@media (min-width: 992px){
  .product__grid{
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    align-items: start;
  }
}

/* ---- Mobile tweaks (≤768px) ---- */
@media (max-width: 768px){
  .product__title{ font-size: 24px; margin-bottom: 10px; }
  .product__price{ font-size: 18px; margin-bottom: 12px; }
  .product__swatches .swatch{ width: 26px; height: 26px; }
  .product__main{ border-radius: 10px; }
  .btn-solid.full{ height: 52px; font-size: 16px; }
}

/* Mayda vizual ajratgich (ixtiyoriy): bo‘limlar orasida chiziq */
.product__divider{
  height: 1px; background: #eee; margin: 16px 0;
}
.splash{
  position: fixed;
  inset: 0;
  background: #FAF6EF;               /* qaymoq rang */
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity .6s ease;      /* chiqishda silliq so'nish */
}
.splash.is-hide{ opacity: 0; pointer-events: none; }

.splash__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateY(16px);       /* pastdan kelib chiqsin */
  opacity: 0;
  animation: splashIn .6s cubic-bezier(.22,.61,.36,1) forwards;
}

.splash__logo{
  width: clamp(300px, 24vw, 3000px);  /* kattaroq logo */
  height:auto; display:block;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  animation: logoIn .8s cubic-bezier(.22,.61,.36,1) .1s forwards;
}

.splash__title{
  font: 700 clamp(18px, 2.5vw, 24px)/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing:.02em; color:#111;
  opacity: 0;
  transform: translateY(8px);
  animation: titleIn .6s ease .9s forwards;   /* logo tugagach chiqadi */
}

/* ===== Animations ===== */
@keyframes splashIn{
  to { transform: translateY(0); opacity: 1; }
}
@keyframes logoIn{
  to { opacity:1; transform: translateY(0) scale(1); }
}
@keyframes titleIn{
  to { opacity:1; transform: translateY(0); }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .splash__logo, .splash__title{ animation:none; opacity:1; transform:none; }
}

/* ===== Hero ===== */


/* Mobil uchun maxsus */


.cart-badge{
  position: relative;
  top:-10px; left:-14px;
  min-width:18px; height:18px;
  padding:0 5px;
  display:none; align-items:center; justify-content:center;
  background:#111; color:#fff; border-radius:9px;
  font-size:12px; font-weight:700;
}
@media (max-width: 395px){
  :root{ --ann-h: 42px; }           /* e'lon bar balandligi birozgina */
  .navbar{ top: var(--ann-h); }

  .container{ padding: 0 12px; }    /* yon bo'shliqlar */
  .nav-wrapper{ height: 64px; }

  /* Logo – ko'rinarli, lekin sig'adi */
  .logo img{ height: 120px; width: auto; } /* juda kichraytirmaymiz */

  /* Ikonalar – o'qiladigan va bosish oson */
  .nav-icons{ gap: 20px; }
  .nav-icons img{ width: 36px; height: 36px; }

  /* Savat badji */
  .cart-badge{
    min-width: 18px; height: 18px; font-size: 11px;
    right: -6px; top: -6px;
  }

  /* Hero matnlari – ko'rinarli */
  .hero__title{ font-size: clamp(26px, 8vw, 32px); line-height: 1.15; }
  .hero__subtitle{ font-size: 13px; }
  .hero__cta{ padding: 11px 16px; font-size: 13px; }
}

/* Juda tor (≤320px) qurilmalar uchun faqat mayda tuzatish */
@media (max-width: 320px){
  .logo img{ height: 800px; }
  .nav-icons{ gap: 14px; }
  .nav-icons img{ width: 50px; height: 50px; }
}

@media (max-width: 342px) {
  .nav-wrapper { height: 68px; padding-inline: 10px; }
  .logo img { height: 100px; }
  .nav-icons img { width: 35px; height: 35px; }
  .nav-icons { gap: 12px; }
}

/* Interstitial banner – mahsulot grid ichida to'liq qatorni egallasin */

/* e’lon bar (ann-bar) tepada qoladi, navbar uning ostiga pin bo‘ladi */
:root{
  --nav-h: 80px;   /* .nav-wrapper balandligi */
}
.navbar{
  position: fixed;
  left: 0;
  right: 0;
  top: var(--ann-h);    /* ann-bar ostida turadi */
  z-index: 2000;        /* hammasidan yuqori */
  background: #fff;
  border-bottom: 1px solid #eee;
}
/* sahifa kontenti navbar ostiga tushib ketmasin */
body{
  padding-top: calc(var(--ann-h) + var(--nav-h));
}

/* kichik ekranlarda .nav-wrapper pastroq, shuning uchun offsetni moslaymiz */
@media (max-width: 395px){
  :root{ --nav-h: 64px; }
}
/* ====== LAYOUT VARS ====== */
:root{
  --ann-h: 52px;   /* announcement balandligi: desktop */
  --nav-h: 80px;   /* navbar balandligi */
}
@media (max-width: 768px){
  :root{ --ann-h: 48px; --nav-h: 68px; }
}

/* ====== ANNOUNCEMENT + NAVBAR: fixed + full width ====== */
.ann-bar{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1100;              /* hammasidan tepada */
}
.navbar{
  position: fixed; top: var(--ann-h); left: 0; right: 0;
  z-index: 1090; background:#fff; border-bottom:1px solid #eee;
}

/* sahifa usti “bosilmasin” – kontentni pastga suramiz */
body{
  padding-top: calc(var(--ann-h) + var(--nav-h));
}

/* eski sticky qoidalar bo‘lsa, bekor qilamiz */
@supports (position: fixed){
  .navbar[style], .navbar { position: fixed !important; }
}

/* ====== HERO (asosiy banner) – biroz kattaroq ====== */

/* ====== INTERSTITIAL BANNER – full-bleed (containerdan chiqib ketadi) ====== */
.prod-grid{ position: relative; }




/* ichki gradient/tekst o‘qilishini kuchaytirib qo‘yamiz */


/* ====== SEARCH DRAWER – fixed barlar ostida to‘g‘ri ochilsin ====== */
.srch-panel{ top: calc(12px + var(--ann-h)) !important; }
@media (max-width: 980px){
  .srch-panel{ top: calc(10px + var(--ann-h)) !important; }
}


/* === HERO – final tweaks === */
/* ===== HERO (asosiy banner) ===== */
.hero{
  position: relative;
  width: 100%;
  height: clamp(540px, 78vh, 860px);
  background:#000; overflow:hidden; isolation:isolate;
}
.hero__bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  transform: scale(1.035);
  filter: saturate(1.02);
  opacity:0; animation: heroFade .9s ease forwards;
}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 28%, rgba(0,0,0,.02) 62%, rgba(0,0,0,0) 100%);
  pointer-events:none;
}
.hero__inner{
  position:relative; z-index:2; height:100%;
  max-width:min(1280px, 92vw); margin-inline:auto;
  display:grid; align-content:center;
  gap: clamp(12px, 2.6vw, 24px);
  padding: clamp(18px, 3.6vw, 42px);
  color:#fff; text-align:left;
}
.hero__title{
  margin:0; font-weight:800; line-height:1.08; letter-spacing:.01em;
  font-size: clamp(34px, 5.6vw, 72px);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero__subtitle{ margin:0; font-size: clamp(15px, 2vw, 20px); opacity:.95; }
.hero__cta{
  display:inline-flex; align-items:center; gap:8px; width:max-content;
  padding:12px 22px; border:2px solid #fff; border-radius:10px;
  color:#fff; text-decoration:none; font-weight:800; letter-spacing:.06em;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  user-select:none;
}
.hero__cta:hover{ background:#fff; color:#000; border-color:#fff; transform: translateY(-2px); }
.hero__cta:active{ transform: translateY(0); }
@keyframes heroFade{ from{opacity:0; transform:scale(1.06);} to{opacity:1; transform:scale(1.02);} }
@media (max-width:768px){
  .hero{ height: clamp(460px, 62vh, 640px); }
  .hero__inner{ align-content:end; padding-bottom: clamp(48px, 12vh, 120px); }
}

/* ===== INTERSTITIAL banner (grid ichida) ===== */
.inter-banner{
  position: relative; display:block; grid-column: 1 / -1;
  border-radius: 14px; overflow:hidden; background:#000; color:#fff;
}
.inter-banner > img{
  width:100%; height: clamp(280px, 48vh, 520px);
  object-fit:cover; object-position:center;
  display:block; filter:saturate(1.02); transform:scale(1.02);
}
.inter-content{
  position:absolute; inset:0; display:grid; align-content:center;
  padding: clamp(16px, 3vw, 32px);
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 38%, rgba(0,0,0,0) 70%);
}
.inter-title{ font-weight:800; font-size: clamp(26px, 4vw, 44px); line-height:1.08; }
.inter-sub{ margin-top:10px; font-size: clamp(14px,1.8vw,18px); opacity:.95; }
.inter-btn{
  margin-top: clamp(14px, 2vw, 20px);
  padding:10px 18px; border:2px solid #fff; border-radius:10px;
  display:inline-flex; width:max-content; font-weight:800; letter-spacing:.06em;
}
.inter-banner:hover .inter-btn{ background:#fff; color:#000; }


/* Hero asosiy qismi */
.hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.hero__bg {
  width: 100%;
  height: auto;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,0));
}

.hero__inner {
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;  /* <-- default: text chap/ong joylashadi */
  padding: 32px;
  color: #fff;
}

.hero__title {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: clamp(14px, 2vw, 20px);
  margin-bottom: 20px;
}

.hero__cta {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background .3s;
}
.hero__cta:hover {
  background: #fff;
  color: #000;
}

/* Kichik ekranlar uchun textni o‘rtaga olib kelamiz */
@media (max-width: 768px) {
  .hero__inner {
    align-items: center;   /* markazga olib keladi */
    text-align: center;    /* matn ham markazda bo‘ladi */
    padding: 100px;
  }
}

/* ================== INTER-BANNER (grid ichida) ================== */
.inter-banner{
  position: relative;
  display: block;
  grid-column: 1 / -1;          /* to‘liq qatorni egallasin */
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
.inter-banner > img{
  width: 100%;
  height: clamp(260px, 38vw, 520px);  /* desktopda balandroq, mobil kichikroq */
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .45s ease;
}
.inter-banner:hover > img{ transform: scale(1.02); }

/* Matn blok */
.inter-content{
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;         /* vertikal markaz */
  justify-items: start;          /* desktop: chap/ong tomonda turadi */
  gap: 10px;
  padding: clamp(16px, 3vw, 32px);
  color: #fff;
  /* o‘qilishi uchun gradient – desktopda yon tomondan */
  background: linear-gradient(90deg,
              rgba(0,0,0,.55) 0%,
              rgba(0,0,0,.22) 38%,
              rgba(0,0,0,0) 70%);
}

/* Tipografiya */
.inter-title{
  font-size: clamp(22px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.inter-sub{
  font-size: clamp(13px, 1.6vw, 18px);
  opacity: .92;
  margin-bottom: 0px;  /* gapni biroz oshirdik */
}

/* SHOP NOW – faqat o‘zini o‘rab turgan kontur */
.inter-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;            /* matncha qadar */
  padding: 10px 3px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  background: transparent;
  backdrop-filter: saturate(120%);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.inter-btn:hover{ background:#fff; color:#000; border-color:#fff; }

/* ========== Mobil xulq (≤768px): hammasini markazga keltiramiz ========== */
@media (max-width: 768px){
  .inter-content{
    justify-items: center;       /* gorizontal markaz */
    text-align: center;
    padding: 14px;
    /* mobilda pastdan gradient – rasm ustiga matn yaxshi o‘qilsin */
    background: linear-gradient(0deg,
                rgba(0,0,0,.55) 0%,
                rgba(0,0,0,.22) 55%,
                rgba(0,0,0,0) 90%);
  }
  .inter-btn{ padding: 10px 16px; }
}
/* ==== Inter-banner: tugmani biroz ixchamlashtirish (global) ==== */
.inter-btn{
  padding: 9px 16px;      /* 10x18 dan ozgina kichik */
  font-size: 13px;        /* mayinroq */
}

/* ==== Mobil (≤768px): matnni pastga tushirish + tugmani yanada ixcham ==== */
@media (max-width: 768px){
  .inter-content{
    align-content: end;             /* blokni pastga “yig‘adi” */
    justify-items: center;
    text-align: center;
    padding-top: 3px;              /* tepadan kamroq nafas */
    padding-bottom: 22px;           /* pastga ko‘proq nafas */
    /* gradient o‘qilish uchun pastdan kuchliroq */
    background: linear-gradient(0deg,
                rgba(0,0,0,.60) 0%,
                rgba(0,0,0,.28) 55%,
                rgba(0,0,0,0) 92%);
  }

  .inter-btn{
    padding: 8px 14px;              /* mobil tugma yanada ixcham */
    font-size: 12px;
  }
}
.stock-note{
  margin: 6px 0 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.stock--ok  { color: #16803d; }     /* ko‘k-yashil */
.stock--mid { color: #b67200; }     /* to‘q sariq */
.stock--low { color: #c40000; }     /* qizil — juda oz */
.stock--out { color: #666; }        /* kulrang — yo‘q */

/* Out of stock tugma holati */
.btn-solid.full.is-disabled{
  background: #a9a9a9;
  border-color: #a9a9a9;
  cursor: not-allowed;
  opacity: .7;
}
